import request from '../utils/request.js';
//检验库存
export function CheckStock(data){
	return request({
		url:'/WX2CheckStockAction?grant_type=wechat_program',
		method:'POST',
		data,
	})
}
//支付功能
export function WeChatDefray(data){
	return request({
		url:'/WXWeChatDefrayAction?grant_type=wechat_program',
		method:'POST',
		data,
	})
}
// 支付功能
export function WeChatPayShopCarNative(data){
	return request({
		url:'/WeChatPayShopCarNative?grant_type=wechat_program',
		method:'POST',
		data,
	})
}
// 购物车商品提交订单

export function addShopCarTotalOrders(data){
	return request({
		url:'/WXShopCarTotalOrders?grant_type=wechat_program',
		method:'POST',
		data,
	})
}